package com.scm.persist.mybatis;

import com.scm.persist.model.ScmInventoryInDetail;
import com.scm.persist.model.ScmInventoryOutDetail;
import com.scm.persist.model.ScmInventoryOutDetailExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmInventoryOutDetailMapper {
    int countByExample(ScmInventoryOutDetailExample example);

    int deleteByExample(ScmInventoryOutDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmInventoryOutDetail record);

    int batchInsert(@Param("list") List<ScmInventoryOutDetail> record);

    int insertSelective(ScmInventoryOutDetail record);

    List<ScmInventoryOutDetail> selectByExampleWithRowbounds(ScmInventoryOutDetailExample example, RowBounds rowBounds);

    List<ScmInventoryOutDetail> selectByExample(ScmInventoryOutDetailExample example);

    ScmInventoryOutDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmInventoryOutDetail record, @Param("example") ScmInventoryOutDetailExample example);

    int updateByExample(@Param("record") ScmInventoryOutDetail record, @Param("example") ScmInventoryOutDetailExample example);

    int updateByPrimaryKeySelective(ScmInventoryOutDetail record);

    int updateByPrimaryKey(ScmInventoryOutDetail record);
}